<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
    .box {
        position: absolute;
        left: 0;
        top: 0;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background-color: skyblue;
    }
</style>

<body>
    <div class="box"></div>
    <script>
        let box = document.querySelector(".box");
        let startX = 0;
        let startY = 0;
        let x = 0;
        let y = 0;

        box.addEventListener("touchstart", function (e) {
            startX = e.targetTouches[0].pageX;
            startY = e.targetTouches[0].pageY;
            x = this.offsetLeft;
            y = this.offsetTop;
           
        });
        box.addEventListener("touchmove", function (e) {
            let moveX = e.targetTouches[0].pageX - startX;
            let moveY = e.targetTouches[0].pageY - startY;

            this.style.left = x + moveX + 'px';
            this.style.top = y + moveY + 'px';
            console.log(e.target);
        })
    </script>
</body>

</html>